﻿using System;
using CommunityToolkit.Mvvm.ComponentModel;

namespace General.Control.Avalonia.Demo.ViewModels;

public partial class MainWindowViewModel : ViewModelBase
{
    public string Greeting { get; } = "Welcome to Avalonia!";

    /// <summary>
    /// 最大值
    /// </summary>
    [ObservableProperty]
    private DateTime? _maxDate;
    
    /// <summary>
    /// 最小值
    /// </summary>
    [ObservableProperty]
    private DateTime? _minDate;
}